file_name = 'learning_python.txt'
with open(file_name) as file_object:
    message = file_object.read()
    message = message.replace('Python', 'C')
    print(message)
